package 循环语句作业;

import java.util.Scanner;

public class homework2 {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        System.out.print("请输入辞职的天数(1到365之间): ");
        int day = scanner.nextInt();
        if (day >= 1 && day <= 365) {
            System.out.println("在第 " + day + " 天辞职回家");
        } else {
            System.out.println("输入的天数不符合要求");
        }
        scanner.close();
    }
}

